﻿using HCQ2_Model.VLine.InputDto;
using HCQ2_Model.VLine.OutputDto;
using HCQ2_Model.VLine.Params;
using HCQ2_Model.VLine.Result;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HCQ2_IDAL
{
    public partial interface IT_VLinesExperienceDetailDAL
    {
        //*********************************后端**************************************
        /// <summary>
        ///  获取成绩主表列表
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        List<ScoreStatistList> GetScoreStatistList(ScoreStatistParam model, out int total);
        /// <summary>
        ///  获取成绩主表导出数据table
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        DataTable GetScoreStatistExeclData(ScoreStatistParam model);
        /// <summary>
        ///  获取成绩明细列表
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        List<ScoreStatistDetial> GetScoreStatistDetial(ScoreStatistDetail model, out int total);
        /// <summary>
        ///  获取成绩明细导出数据table
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        DataTable GetScoreStatistDetialExecl(ScoreStatistDetail model);
        //*********************************接口****************************************
        /// <summary>
        ///  获取成绩主表记录
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        List<ExperScoreMain> GetExperScoreMainList(ExperLineParam model);
        /// <summary>
        ///  获取成绩详细记录
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        List<ExperScoreDetial> GetExperScoreDetialList(ExperLineParam model);
        /// <summary>
        ///  获取成绩统计
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        List<ExperScoreStatist> GetExperScoreStatist(ExperLineParam model);
        /// <summary>
        ///  获取作品是否有人学习
        /// </summary>
        /// <param name="file_id"></param>
        /// <returns></returns>
        int GetLearnNumByFileId(int file_id, int user_id);
        /// <summary>
        ///  导航树path统计学习人数
        /// </summary>
        /// <param name="folderPath"></param>
        /// <returns></returns>
        int CountLearnNumByPath(string folderPath);
    }
}